package com.liuym.login.service;

import com.liuym.common.exception.LoginException;
import com.liuym.login.repository.model.bo.LoginUserBO;

/**
 * @author LiuYiMing
 * @date 2018/9/18 11:43
 * @describe：
 */
public interface LoginService {

    /**
     * 登录
     *
     * @param loginUserBO
     * @param role
     * @return
     */
    String login(LoginUserBO loginUserBO, String role) throws LoginException;
}
